package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 库存盘点记录对象 meow_stock_taking_records
 * 
 * @author ruoyi
 * @date 2025-06-24
 */
public class MeowStockTakingRecords extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 记录编号 */
    private String recordId;

    /** 商品编号 */
    @Excel(name = "商品编号")
    private String productId;

    /** 实际盘点数量 */
    @Excel(name = "实际盘点数量")
    private Long actualCount;

    /** 差异数量 */
    @Excel(name = "差异数量")
    private Long difference;

    /** 盘点日期 */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Excel(name = "盘点日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date takingDate;

    public void setRecordId(String recordId) 
    {
        this.recordId = recordId;
    }

    public String getRecordId() 
    {
        return recordId;
    }

    public void setProductId(String productId) 
    {
        this.productId = productId;
    }

    public String getProductId() 
    {
        return productId;
    }

    public void setActualCount(Long actualCount) 
    {
        this.actualCount = actualCount;
    }

    public Long getActualCount() 
    {
        return actualCount;
    }

    public void setDifference(Long difference) 
    {
        this.difference = difference;
    }

    public Long getDifference() 
    {
        return difference;
    }

    public void setTakingDate(Date takingDate) 
    {
        this.takingDate = takingDate;
    }

    public Date getTakingDate() 
    {
        return takingDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("recordId", getRecordId())
            .append("productId", getProductId())
            .append("actualCount", getActualCount())
            .append("difference", getDifference())
            .append("takingDate", getTakingDate())
            .toString();
    }
}
